package com.easy.base.config.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * Application smb property bean
 */
@Component
@ConfigurationProperties(prefix = "smb")
public class Smb {
    /** smb server username */
    private String username;

    /** smb server password */
    private String password;

    /** smb server ip address */
    private String ip;

    /** smb server folder name */
    private String folder;

    @Override
    public String toString() {
        return "Smb{" +
                "username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", ip='" + ip + '\'' +
                ", folder='" + folder + '\'' +
                '}';
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getFolder() {
        return folder;
    }

    public void setFolder(String folder) {
        this.folder = folder;
    }
}
